AppInfo

@JsonClass(generateAdapter = true)
data class AppInfo(val customerApplicationId: String, val appBuildVersion: String, val customEventMetaData: Map<String, String>, val minSdkVersion: String?, val compileSdkVersion: String?, val targetSdkVersion: String, val sdkVersion: String = BuildConfig.SDK_VERSION) : Parcelable

AppInfo captures the details of app running the SDK.

Important property is customEventMetaData, If customEventMetaData is set after the SDK initialization

then it can retrieved from customEventMetaData from Entry/Exit callbacks. customEventMetaData stores data in a map as Key-value pairs

Example:

AppInfo(customerApplicationId=io.bluedot.hostapp,
appBuildVersion=1.0.0.124,
customEventMetaData={identifier=4ad56fe596996b30, testInstanceId=65541177cb141ea3dfe8a10b},
minSdkVersion=21,
compileSdkVersion=33,
targetSdkVersion=31,
sdkVersion=15.6.0)

Constructors

Link copied to clipboard
constructor(customerApplicationId: String, appBuildVersion: String, customEventMetaData: Map<String, String>, minSdkVersion: String?, compileSdkVersion: String?, targetSdkVersion: String, sdkVersion: String = BuildConfig.SDK_VERSION)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toJson(): String

Convert this object to JSON.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)